<h1>Top Servicos</h1>
<hr/>

<% if @top %>
	<% @top.each do |desc, valor| %>
		<p>
			<b><%= desc %>:</b> R$<%= valor %>
		</p>
	<% end %>
<% end %>

<%= form_tag(:controller => "consultas", :action => "top_servicos", :method => "get") do %>
	<%= label_tag :limite, "Numero de servicos" %>
	<%= number_field_tag :limite %>
	<%= submit_tag "Buscar" %>
<% end %>